# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=asahi-scripts
pkgver=20240822
pkgrel=0
pkgdesc='Asahi Linux maintenance scripts'
arch="aarch64"
url='https://asahilinux.org'
license='MIT'
source="${pkgname}-${pkgver}.tar.gz::https://github.com/AsahiLinux/${pkgname}/archive/refs/tags/${pkgver}.tar.gz"
#install=asahi-scripts.install

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"

	make PREFIX=/usr DESTDIR=${pkgdir} all
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"

	make PREFIX=/usr DESTDIR=${pkgdir} install

	install -Dm644 "$srcdir/${pkgname}-${pkgver}/LICENSE" \
		"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
sha512sums="
6b99abe8df63b928285d6af54ba745bf9ae7a53f3208c77b90158fa076d34feb091275343039b61320fc043b6021170ad63f0e6df933e6a0a3fbfe146f78caf5  asahi-scripts-20240822.tar.gz
"
